package com.unitspirit.sample.cmbchina;

import cn.luischen.dao.UserDao;
import cn.luischen.exception.BusinessException;
import cn.luischen.model.UserDomain;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

import javax.validation.constraints.NotNull;


public class UserServiceImpl6 {
    @Autowired
    private UserDao userDao;

    public int updateUserInfoabc(UserDomain user) {
        if (null == user.getUid())
            throw BusinessException.withErrorCode("用户编号不可能为空");
        return 1;
    }
}
